package ca.swank.hardquor;

// import java.util.Comparable;
import java.util.Comparator;

public abstract class Move implements Comparable
{
  protected static Comparator coordCompare = hardquorBoardTools.getCoordinateComparator();

  public static String coordToString(int[] coord)
  { return "(" + coord[0] + "," + coord[1] + ")";
  }
  
  public abstract int compareTo(Object other);
  public abstract int compareTo2(Object other);
  
  public boolean equals(Object other)
  { return (compareTo(other) == 0);
  }

}

